﻿using System;
using System.Collections.Generic;
using System.Text;
using Best.SmartCms.Dto.Request;

namespace Best.SmartCms.Dto
{
    /// <summary>
    /// 
    /// </summary>
    public class DepartmentDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string DepartmentName { get; set; }
        /// <summary>
        /// 部门编码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 上级部门Id
        /// </summary>
        public long? ParentId { get; set; }
        /// <summary>
        /// 部门简介
        /// </summary>
        public string Summary { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int? Taxis { get; set; }
      
    }

	/// <summary>
    /// 编辑对象
    /// </summary>
	public class DepartmentEditDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string DepartmentName { get; set; }
        /// <summary>
        /// 部门编码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 上级部门Id
        /// </summary>
        public long? ParentId { get; set; }
        /// <summary>
        /// 部门简介
        /// </summary>
        public string Summary { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int? Taxis { get; set; }
      
    }

    /// <summary>
    /// 查询条件
    /// </summary>
    public class DepartmentListQueryDto: PagedQueryRequest
    {

      
    }

    /// <summary>
    /// 列表对象
    /// </summary>
	public class DepartmentListDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string DepartmentName { get; set; }
        /// <summary>
        /// 部门编码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 上级部门Id
        /// </summary>
        public long? ParentId { get; set; }

        /// <summary>
        /// 上级部门Id
        /// </summary>
        public string ParentDepartmentName { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int? Taxis { get; set; }
      
    }
}
